package com.pioneer.web.stock.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pioneer.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 *
 * @TableName sto_decrease
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value ="sto_decrease")
@Data
public class StoDec extends BaseEntity {
    /**
     * 主表ID
     */
    @TableId(type = IdType.AUTO)
    private Long decreaseId;

    /**
     * 状态（0未）
     */
    private String status;

    /**
     * 子表列表
     */
    @TableField(exist = false)
    private List<StoDecBody> bodyList;
}
